<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>动手尝试RequireJS</title>
    <link rel="icon" href="img/sq.png">
    <link rel="stylesheet" href="css/testRequire.css">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0">
</head>
<body>
    <div class="basediv">复制该div</div>
    <div class="line"></div>
    <div class="copyare"></div>


    <script src="js/require.js"></script>
    <script>
        require(['js/main.js']);
    </script>
</body>
</html>